package io_demo.teshu_io_demo;
import java.io.IOException;
import java.io.InputStream;
/**
 * @author ChenYongHao
 * @date 2023/4/28 10:44
 * @desc 标准输入流
 */
public class InputStreamDemo {
    public static void main(String[] args) throws IOException {
        InputStream is = System.in;

        int by;
        while ((by = is.read()) != -1) {
            System.out.print((char) by);
        }

        is.close();
    }
}
